from base64 import b64decode

tot = ""
my_str = input()

while my_str != "":
    tot += my_str
    my_str = input()

tot += "===="

a = b64decode(tot).decode(encoding='utf-8')
print(a)
